﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>JavaScript1</title>
    <script type="text/javascript">
        
        /*
        var x = 10;

        function foo() {
            var y = 20;
            function bar() {
                alert(x + y);
            }
            return bar;
        }

        this.foo()();
        

        var x = 10;

        function foo() {
            alert(x);
        }

        (function () {
            var x = 20;
            foo(); // 10, but not 20
        })();
        */


    </script>
</head> 
<body>
    <div>
        
    </div>
</body>
</html>
